import request from '@/utils/request'
export function list(params) {
    return request({
        url:'/admin/return/list',
        method:'get',
        params:params
    })
}
export function received(id) {
    return request({
        url: '/admin/return/received/' + id,
        method: 'post'
    })
}
export function cancel(id) {
    return request({
        url: '/admin/return/cancel/' + id,
        method: 'post'
    })
}

export function find(id) {
    return request({
        url: '/admin/return/find/' + id,
        method: 'get'
    })
}


export function summary() {
    return request({
        url: '/admin/return/summary',
        method: 'post'
    })
}

